﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Resource
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ILocation_Service" in both code and config file together.
    [ServiceContract]
    public interface ILocation_Service
    {
        [OperationContract]
        List<LG_Location> GetAllLocations();

        [OperationContract]
        ReturnBool AddNewLocation(LG_Location location);

        [OperationContract]
        ReturnBool EditInfoLocation(int location_id, LG_Location updated_location);

        [OperationContract]
        ReturnBool RemoveLocation(int location_id);
    }
}
